import React from 'react'
import { createRoot } from 'react-dom/client'
import App from './App'
import './index.less'
import { Provider } from 'react-redux'
import store from './store'
import './api/mock'

const domNode = document.getElementById('root')
if (domNode) {
    const root = createRoot(domNode)
    root.render(
        <Provider store={ store } >
        <App />
        </Provider>
    );
}

